<template>
	<view>
		<input type="text" @focus="show = true">
		<view class="" v-if="show">
			<view class="">
				历史记录
			</view>
			<view class="" v-for="(v, i) in searchList" :key="i">
					{{ v }}
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				searchList: ['a', 'b', 'c'],
				show: false
				
			};
		}
	}
</script>

<style lang="scss">

</style>
